//// Copyright 2013 Square, Inc.
//package org.assertj.ohos.api.widget;
//
//import ohos.graphics.drawable.Drawable;
//import ohos.agp.components.ListContainer;
//import org.assertj.ohos.api.view.AbstractViewGroupAssert;
//
//import static org.assertj.core.api.Assertions.assertThat;
//
//public abstract class AbstractListViewAssert<S extends AbstractListViewAssert<S, A>, A extends ListContainer>
//    extends AbstractViewGroupAssert<S, A> {
//  protected AbstractListViewAssert(A actual, Class<S> selfType) {
//    super(actual, selfType);
//  }
//
//  public S hasDivider(Drawable divider) {
//    isNotNull();
//    Drawable actualDivider = actual.getDivider();
//    assertThat(actualDivider) //
//        .overridingErrorMessage("Expected divider <%s> but was <%s>.", divider, actualDivider) //
//        .isSameAs(divider);
//    return myself;
//  }
//
//  public S hasDividerHeight(int height) {
//    isNotNull();
//    int actualHeight = actual.getDividerHeight();
//    assertThat(actualHeight) //
//        .overridingErrorMessage("Expected divider height <%s> but was <%s>.", height,
//            actualHeight) //
//        .isEqualTo(height);
//    return myself;
//  }
//
//  public S hasFooterViewsCount(int count) {
//    isNotNull();
//    int actualCount = actual.getFooterViewsCount();
//    assertThat(actualCount) //
//        .overridingErrorMessage("Expected footer views count <%s> but was <%s>.", count, actualCount) //
//        .isEqualTo(count);
//    return myself;
//  }
//
//  public S hasHeaderViewsCount(int count) {
//    isNotNull();
//    int actualCount = actual.getHeaderViewsCount();
//    assertThat(actualCount) //
//        .overridingErrorMessage("Expected header views count <%s> but was <%s>.", count, actualCount) //
//        .isEqualTo(count);
//    return myself;
//  }
//
//  public S hasOverscrollFooter(Drawable footer) {
//    isNotNull();
//    Drawable actualFooter = actual.getOverscrollFooter();
//    assertThat(actualFooter) //
//        .overridingErrorMessage("Expected overscroll footer <%s> but was <%s>.", footer, actualFooter) //
//        .isSameAs(footer);
//    return myself;
//  }
//
//  @TargetApi(GINGERBREAD)
//  public S hasOverscrollHeader(Drawable header) {
//    isNotNull();
//    Drawable actualHeader = actual.getOverscrollHeader();
//    assertThat(actualHeader) //
//        .overridingErrorMessage("Expected overscroll header <%s> but was <%s>.", header, actualHeader) //
//        .isSameAs(header);
//    return myself;
//  }
//
//  public S hasFooterDividersEnabled() {
//    isNotNull();
//    assertThat(actual.areFooterDividersEnabled()) //
//        .overridingErrorMessage("Expected to have footer dividers enabled but were not.") //
//        .isTrue();
//    return myself;
//  }
//
//  public S hasFooterDividersDisabled() {
//    isNotNull();
//    assertThat(actual.areFooterDividersEnabled()) //
//        .overridingErrorMessage("Expected to have footer dividers disabled but were not.") //
//        .isFalse();
//    return myself;
//  }
//
//  public S hasHeaderDividersEnabled() {
//    isNotNull();
//    assertThat(actual.areHeaderDividersEnabled()) //
//        .overridingErrorMessage("Expected to have header dividers enabled but were not.") //
//        .isTrue();
//    return myself;
//  }
//
//  public S hasHeaderDividersDisabled() {
//    isNotNull();
//    assertThat(actual.areHeaderDividersEnabled()) //
//        .overridingErrorMessage("Expected to have header dividers disabled but were not.") //
//        .isFalse();
//    return myself;
//  }
//}
